SWEP.Base = "weapon_ic_baseweapon"

if SERVER then
	AddCSLuaFile ("shared.lua")
end

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.PrintName			= "GLOCK 18"
SWEP.Description		= "A small, cheap, automatic pistol very effective at low ranges but with low damage and limited magazine capacity."

SWEP.Slot					= 1
SWEP.Cost					= 250
SWEP.IconFont				= "CSKillIcons"
SWEP.IconLetter				= "c"

SWEP.Primary.ClipSize		= 17
SWEP.Primary.DefaultClip	= 102
SWEP.Primary.Automatic		= true
SWEP.Primary.Ammo			= "pistol"

SWEP.Primary.Sound			= Sound ("Weapon_Glock.Single")

SWEP.Primary.Delay			= 0.05
SWEP.Primary.Damage			= 21
SWEP.Primary.Cone			= 0.055
SWEP.Primary.Kick			= 0.9

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false 
SWEP.Secondary.Ammo			= "none"

SWEP.ViewModel = "models/weapons/v_pist_glock18.mdl"
SWEP.ViewModelFlip = true
SWEP.ViewModelDefPos = Vector (3.2583, 0, 1.3831)
SWEP.ViewModelDefAng = Vector (0.6111, -0.095, 0)

SWEP.WorldModel = "models/weapons/w_pist_glock18.mdl"
SWEP.HoldType = "pistol"

if CLIENT then killicon.AddFont("weapon_ic_glock", SWEP.IconFont, SWEP.IconLetter, Color(255, 80, 0, 255)) end

SWEP.IsSMG		= true
